package com.md.entity;

public class Teacher {
    private String tName;
    private String tCourse;
    private String tStudent;

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String gettCourse() {
        return tCourse;
    }

    public void settCourse(String tCourse) {
        this.tCourse = tCourse;
    }

    public String gettStudent() {
        return tStudent;
    }

    public void settStudent(String tStudent) {
        this.tStudent = tStudent;
    }

    public Teacher() {
    }

    public Teacher(String tName, String tCourse, String tStudent) {
        this.tName = tName;
        this.tCourse = tCourse;
        this.tStudent = tStudent;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "tName='" + tName + '\'' +
                ", tCourse='" + tCourse + '\'' +
                ", tStudent='" + tStudent + '\'' +
                '}';
    }
}
